﻿//-----------------------------------------------------------------------
// <copyright file="IconStyle.cs" company="WorldView Solutions Inc">
//     Copyright (c) WorldView Solutions Inc. This source is subject to the Microsoft Public License (Ms-PL). All other rights reserved.
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.Xml;
using System.Xml.Serialization;

namespace WorldViewSolutions.Graphics
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks></remarks>
	[Serializable]
	[XmlRoot("iconStyle")]
	public class IconStyle
	{
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        /// <remarks></remarks>
		[XmlAttribute("id")]
		public string Id { get; set; }

        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        /// <value>The URL.</value>
        /// <remarks></remarks>
		[XmlAttribute("url")]
		public string Url { get; set; }

        /// <summary>
        /// Gets or sets the offset X.
        /// </summary>
        /// <value>The offset X.</value>
        /// <remarks></remarks>
		[XmlAttribute("offsetX")]
		public int OffsetX { get; set; }

        /// <summary>
        /// Gets or sets the offset Y.
        /// </summary>
        /// <value>The offset Y.</value>
        /// <remarks></remarks>
		[XmlAttribute("offsetY")]
		public int OffsetY { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="T:System.Object"/> class.
        /// </summary>
        /// <remarks></remarks>
		public IconStyle()
		{
            this.OffsetX = 0;
            this.OffsetY = 0;
		}
	}
}